<nav class="breadcrumb" id="pathContainer">
    <i class="Hui-iconfont Hui-iconfont-weizhi"></i>
    <span>您的位置：</span>
    <span>扶贫对象管理</span>
    <span class="c-999 en">&gt;</span>
    <span class="c-primary">防贫预警管理</span>
</nav>
<div class="Hui-article" id="memberManage">
    <!-- search module start -->
    <div class="row cl searchBox">
        <form class="form form-horizontal responsive" id="searchForm" novalidate="novalidate">
            <div class="clearfix">
            <div class="conditionBox col-sm-2">
                    <label for="">预警类型:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="type" value="">
                            <option value="">请选择</option>
                            <option value="因病">因病</option>
                            <option value="因学">因学</option>
                            <option value="因灾">因灾</option>
                        </select>
                        <input type="hidden" name="type" id="h-type">
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在乡:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" id="cry" value="">
                            <option value="">全部</option>
                        </select>
                        <input type="hidden" name="country" id="h-cry">
                    </div>
                </div>
                <div class="conditionBox col-sm-2">
                    <label for="">所在村:</label>
                    <div class="formControls">
                        <select class="select-box select radius" size="1" value="" id="name">
                            <option value="">全部</option>
                        </select>
                        <input type="hidden" name="village" id="h-name">
                        <input type="hidden"  id="h-nameval">
                    </div>
                </div>
                
                <div class="conditionBox col-sm-2">
                    <label for="">防贫对象:</label>
                     <input class="select-box select radius" type="text" name="target" id="h-target">
                </div>
            </div>
            
                <div class="clearfix search-btns  margin-padding-none btn-div">
                    <input type="button" class="btn btn-primary queryBtn btn btn-secondary" value="查 询"/>
                    <input class="btn btn-export add_btn save_from" type="button" value="导出">
                </div>
        </form>
    </div>
</div>


    <div class="table-scroll" style="margin-top:100px; position: relative;z-index: 100;">
        <table class="table table-border table-bordered">
            <thead class="text-c row cl table-bgcolor-gary" id="thead">
            <tr>
                <th>序号</th>
                <th>预警类型</th>
                <th>所在乡</th>
                <th>所在村</th>
                <th>户主</th>
                <th>防贫对象</th>
                <th>金额</th>
                <th>预警时间</th>
            </tr>
            </thead>
            <tbody class="text-c row cl" id="tbody"></tbody>
        </table>
    </div>
    <div class="page pt-10 clearfix">
        <div class="f-l" style="white-space: nowrap;" id="pageContainer"></div>
        <div class="f-r" id="pageBtn">
            <input type="button" value="首页" class="page-btn" id="firstPage">
            <input type="button" value="上一页" class="page-btn" id="prevPage">
            <input type="button" value="下一页" class="page-btn" id="nextPage">
            <input type="button" value="尾页" class="page-btn" id="lastPage">
        </div>
    </div>
</div>
<script id="list" type="text/x-handlebars-template">
    \{{#each resultList}}
    <tr>
        <td></td>
        <td>\{{type}}</td>
        <td>\{{country}}</td>
        <td>\{{village}}</td>
        <td id="\{{poorFamilyID}}" class="goto">\{{householder}}</td>
        <td>\{{target}}</td>
        <td>\{{amount}}</td>
        <td>\{{warningTime}}</td>
    </tr>
    \{{/each}}
</script>
<script id="page" type="text/x-handlebars-template">
    <span>共有\{{rowCount}}条记录，</span>
    <label for="ipt2">每页行数：</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageSize">
            <option value="10" selected>10</option>
            <option value="20">20</option>
            <option value="50">50</option>
            <option value="100">100</option>
            <option value="200">200</option>
            <option value="300">300</option>
        </select>
    </span>
    <label for="ipt2">当前第</label>
    <span class="select-box page-span">
        <select class="select page-select" size="1" name="demo1" id="pageCount">
            \{{#each pageCount}}
            <option value="\{{pageCount}}">\{{pageCount}}</option>
            \{{/each}}
        </select>
    </span>
    <span>页</span>
</script>


<script>
    new preventPoverty()
</script>